let arr = [1,2,3,4,5,6]

Array.prototype.my_every = function(fc){
    for(let i =0;i<this.length;i++){
        const res= fc(this[i],i,this)
    }
    return newArr
}
//检查数组中的元素是否都满足条件
const res =arr.every((item,index,arr)=>{
    console.log(item,index,arr);
    return item>=0
})
console.log(res);
